﻿<%@ Page Language="C#" Inherits="BasePage" %>

<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Text" %>
<%@ Import Namespace="System.Web" %>
<%@ Import Namespace="System.Web.UI" %>
<%@ Import Namespace="AspNetCs.Bll" %>
<%@ Import Namespace="AspNetCs.Model" %>
<%@ Import Namespace="AspNetCs.Enumerations.User_Enum" %>
<%@ Import Namespace="AspNetCs.Common" %>

<script runat="server">
    protected int MusicId = 0;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request["id"] != null)
        {
            MusicId = StringHelper.isNumber_int(Request["id"]);
        }

        string MusicStr = Music_Bll.CreateNew.MusicPath(MusicId);
        if (MusicStr != "")
        {
            Response.Write("document.write(\"<bgsound src='" + MusicStr + "' loop='-1'>\");");
        }
        Response.Write("");

    }
</script>

